<template>
  <div class="back" :style="{ paddingTop: utils.windowTop + 'rpx' }">
    <!-- <img
      v-if="color == 'black'"
      src="/static/icon/right1.png"
      alt=""
      class="back"
      @click.stop="utils.navigateBack()"
    />
    <img else src="/static/icon/right.png" alt="" class="back" @click.stop="utils.navigateBack()" /> -->
    <!-- <van-icon name="arrow-left" size="34rpx" :color="color" @click.stop="utils.navigateBack()" /> -->
    <div
      class="iconfont icon-fanhui3"
      :style="{ color: color }"
      @click.stop="utils.navigateBack()"
    ></div>
  </div>
</template>

<script setup lang="ts">
import utils from "@/utils/index";
const prop = defineProps({
  color: {
    type: String,
    default: "#333",
  },
});
</script>

<style lang="less" scoped>
.back {
  position: fixed;
  top: 36rpx;
  left: 32rpx;
  z-index: 99999999;
}
.iconfont {
  font-size: 50rpx;
  font-weight: 700;
}
</style>
